package com.spzx.user.mapper;

import com.spzx.model.entity.user.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Project: spzx-parent
 * Package: com.spzx.user.mapper
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/4/14 下午11:10
 */
@Mapper
public interface UserInfoMapper {

    //保存用户
    void save(UserInfo userInfo);

    //获取用户信息
    UserInfo getByUsername(@Param("username") String username);
}
